package com.shangcheng.dubbo.api;

import com.shangcheng.model.domain.UmsResourceCategory;

import java.util.List;

/**
 * @author shiqiang
 * @version 1.0
 * @date 2022/5/13 17:59
 */
public interface UmsResourceCategoryApi {
    //添加后台资源分类
    void createResourceCategory(UmsResourceCategory umsResourceCategory);
    //根据id删除后台资源分类
    void deleteResourceCategory(Integer id);
    //查询所有后台资源分类
    List<UmsResourceCategory> resourceCategoryList();
    //修改后台资源分类
    void updateResourceCategory(UmsResourceCategory umsResourceCategory);
    //根据名称查询分类
    UmsResourceCategory findResourceCategoryByName(UmsResourceCategory umsResourceCategory);
}
